package cn.org.donald.pojo.entity.system;

import cn.org.donald.framework.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ： Donald
 * @date ： 2020/10/19 18:15
 * @description：
 */
@ApiModel(value="UserRole对象", description="UserRole关系实体")
public class UserRole extends BaseEntity {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
